﻿using System.ComponentModel.DataAnnotations;

namespace CodeContribBlog.Data
{
	public class CommentMetadata
	{
		[Display(Name = "Name")]
		[Required]
		public string Author { get; set; }

		[DataType(DataType.MultilineText)]
		[Display(Name = "Comment")]
		[Required]
		public string Body { get; set; }

		[Display(Name = "Email Address")]
		[Required]
		public string EmailAddress { get; set; }

		[Display(Name = "Web Site")]
		public string Url { get; set; }
	}
}